from django.db.models import Q

from apps.master.models import SerialNumberModel

SerialNumberModel.objects.filter(Q(serial_name='aaa') | Q(serial_name='bbb'))